
const listData = [];
for (let i = 0; i < 46; i++) {
  listData.push({
    id: i,
    name: `Edward King ${i}`,
    desc: `${i}${i}${i}${i}${i}${i}${i}${i}${i}`,
    url: `https://umijs.org`,
  });
}

let random_joke_call_count = 0;

export default {
  'get /api/list': function (req, res) {
    const responseObj = listData;
    random_joke_call_count += 1;
    setTimeout(() => {
      res.json(responseObj);
    }, 3000);
  },
};
